package cn.java.pilot;

public class Test {
	public static void main(String[] args) {
		Pilot p = new Pilot();
		Battleplane b = new Battleplane(8, 3, 1000);
		p.drive(b);
		PassengerPlane c = new PassengerPlane(2000, 3, 80);
		p.drive(c);
	}
}
